﻿using Common.Mvvm.Navigation.Regions;
using CommunityToolkit.Mvvm.ComponentModel;
using System.Windows;

namespace Syncfusion.Lib.Data
{
    /// <summary>
    /// DockingManager 相关信息
    /// </summary>
    public class SfDockingInfo : ObservableObject
    {
        /// <summary>
        /// 指定的Region，用于Mvvm-Region与DockingManager交互
        /// </summary>
        public IRegion? Region { get; set; }

        #region 激活的窗体

        /// <summary>
        /// 激活的窗体
        /// </summary>
        private FrameworkElement? _activeWindow;

        /// <summary>
        /// 激活的窗体
        /// </summary>
        public FrameworkElement? ActiveWindow
        {
            get => _activeWindow;
            set => SetProperty(ref _activeWindow, value);
        }

        #endregion 激活的窗体 
    }
}
